<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/TD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>{% block head_title %}{% endblock %}</title>
        <!--[if IE]><style>
            div {
                zoom: 1; /* trigger hasLayout */
            }
        </style><![endif]-->
        <link rel="stylesheet" href="/static/jtauber.css" />
        {% block extra_head %}
        {% endblock %}
    </head>
    
    <body>
        <div id="container">
            <div id="top">
                {% if user.is_authenticated %}
                    <div class="logged_in">
                        {{ user }} :
                        <a href="/admin/">admin</a>
                        {% block extra_commands %}
                        {% endblock %}
                    </div>
                {% endif %}
                
                <h1><a href="/">James Tauber</a></h1>
                <h2><a href="/journeyman_of_some/">journeyman of some</a></h2>
            </div>
            
            <div id="menu">
                {{ menu|safe }}
            </div>
            
            <div id="right">
                <h2><a href="/blog/">Blog</a> <a href="http://jtauber.com/atom/full/"><img src="/static/feed-icon-14x14.png" width="14" height="14" alt="subcribe to Atom feed" /></a></h2>
                
                <ul class="blog_entries">
                {% for entry in blog_entries %}
                  <li><a href="{{ entry.get_absolute_url }}">{{ entry.page_title }}</a>
                  <br /><small>{{ entry.creation_time|timesince }} ago</small>
                  </li>
                {% endfor %}
                </ul>
                
                {{ calendar|safe }}
                
                <div id="twitter_div">
                    <h2>Twitter</h2>
                    <ul id="twitter_update_list">
                        <li>retrieving from twitter.com...</li>
                    </ul>
                    <p style="text-align: right"><a href="http://twitter.com/jtauber/">follow me</a></p>
                </div>
                
                <h2>Me Elsewhere</h2>
                <p><a href="http://www.facebook.com/people/James_Tauber/849890499"><img src="http://facebook.com/images/vertical_badge.gif" width="120" height="26" alt="View James Tauber's profile on Facebook"/></a></p>
                <p><a href="http://www.linkedin.com/in/jtauber" ><img src="http://www.linkedin.com/img/webpromo/btn_linkedin_120x30.gif" width="120" height="30" alt="View James Tauber's profile on LinkedIn" /></a></p>
                
                <h2>Share This Page</h2>
                {% if page.page_title %}
                <script>
                reddit_title='{{ page.page_title }}';
                digg_title='{{ page.page_title }}';
                </script>
                {% endif %}
                <script type="text/javascript" src="http://reddit.com/button.js?t=3"></script>
                <script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
                <script type="text/javascript" src="http://images.del.icio.us/static/js/blogbadge.js"></script>
                
            </div>
            
            <div id="main">
                {% block main_content %}
                {% endblock %}
                <div id="bottom">
                    {% block bottom_content %}
                    {% endblock %}
                </div>
            </div>
            
            <div style="clear: both;"></div>
            
        </div>
        {% block extra_scripts %}
        {% endblock %}
        <script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"></script>
        <script type="text/javascript" src="http://twitter.com/statuses/user_timeline/jtauber.json?callback=twitterCallback2&amp;count=5"></script>
    </body>
</html>
